package red.lightblue.admin.dao;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import red.lightblue.admin.model.ProductType;
import red.lightblue.admin.qc.ProductTypeQC;

import java.util.List;

/**
 * @Author lixiang
 * @CreateTime 01/04/2018
 **/
@Mapper
@Repository
public interface ProductTypeDAO {

    int insertProductType(ProductType productType);

    List<ProductType> listProductType(ProductTypeQC productType);

    Integer countProductType(ProductTypeQC productType);

}
